package org.kl.bf.repository.basic;

import java.util.List;

import org.kl.bf.entity.basic.Attachment;
import org.kl.bf.repository.BasicRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface AttachmentDao extends BasicRepository<Attachment, String>, JpaSpecificationExecutor<Attachment> {

	List<Attachment> findByAttachmentMasterIdAndFileType(String id, String fileType);
	List<Attachment> findByAttachmentMasterIdAndAttachmentType(String id, String attachmentType);
	
}
